﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Login Page</title>
</head>
<body>
    
    <center>    
    <form id="form2" runat="server" defaultbutton='ImageButtonLogin' defaultfocus='txtUsername'>   
        <div style="margin-top:200px">
            <table id="Table_01" border="0" cellpadding="0" cellspacing="0" width="360">
	    <tr>
		    <td style="background:url(ad/images/Table_01.gif);height:35;width: 13px" >
			    </td>
		    <td  style="text-align: center; height: 35px;background:url(ad/images/Table_02.gif);">
                <asp:Label ID="lblTitle" runat="server" Font-Bold="True" ForeColor="#FFFFFF" Height="31px"
                    Text="Đăng nhập Administrator"></asp:Label></td>
		    <td style="background:url(ad/images/Table_03.gif);height:35;width: 15px">
			    </td>
	    </tr>
	    <tr>
		    <td style="background:url(ad/images/Table_04.gif); height:112px; width: 13px;">
			    </td>
		    <td style="height: 112px">
                        <table style="width: 95%; height: 1px">
                            <tr>
                                <td>
                                    <span style="color: #ffffff"><span style="color: #0000ff">
                                    Tên truy cập</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                                        runat="server" ControlToValidate="txtUsername" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></span></td>
                                <td colspan="2" align="left">
                                    <asp:TextBox ID="txtUsername" runat="server" ForeColor="#0000FF"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td>
                                    <span style="color: #ffffff"><span style="color: #0000ff">
                                    Mật khẩu</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                                        runat="server" ControlToValidate="txtPassword" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></span></td>
                                <td colspan="2" align="left">
                                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="147px" ForeColor="#0000FF"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td colspan="3" align="center">
                                    <asp:ImageButton ID="ImageButtonLogin" runat="server" ImageUrl="ad/Images/Login.gif"
                                        OnClick="ImageButtonLogin_Click" /></td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    <asp:Label ID="lblError" runat="server" ForeColor="#FF0000"></asp:Label></td>
                            </tr>
                        </table>
			    </td>
		        <td background="ad/images/Table_06.gif" style="height: 112px; width: 15px;">
			        </td>
	        </tr>
	        <tr>
		        <td background="ad/images/Table_07.gif" height="14" style="width: 13px" >
			        </td>
		        <td background="ad/images/Table_08.gif" height="14">
			        </td>
		        <td background="ad/images/Table_09.gif" height="14" style="width: 15px">
			    </td>
	    </tr>
        </table>
        </div>    
    </form>
    </center>
    
</body>
</html>
